﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SarkothFarmer;
using Zeta;
using Zeta.Common;
using Zeta.CommonBot;
using Zeta.Internals.Actors;

namespace SarkothFarmer.ClassSpecifics
{
    class Monk : Common
    {
        public override void FastMoveTo(Vector3 v)
        {
            if (Helpers.Composites.HasPower(SNOPower.Monk_TempestRush) && ZetaDia.Me.UsePower(SNOPower.Monk_TempestRush, v, ZetaDia.Me.WorldDynamicId)) {}
            else
            {
                MoveTo(v);
            }
        }
        protected override bool SafeTP()
        {
            if (Helpers.Composites.IsUnitNear(Main.settingsWrapper.SafeTPDistance))
            {
                UsePowerSelf(SNOPower.Monk_InnerSanctuary);
            }
            return base.SafeTP();
        }
        public override void PreCombat()
        {
            base.PreCombat();
            UsePowerSelf(SNOPower.Monk_MantraOfConviction);
            UsePowerSelf(SNOPower.Monk_BlindingFlash);
            UsePowerSelf(SNOPower.Monk_SevenSidedStrike);
        }
    }
}
